<?php
include ("include/config.php");
require($config['basedir']."/classes/news.class.php");
$obj_news = new News();
global $config;
$post = $_REQUEST;

if($post['redirect'] == 1)
{
	$url = $config['baseurl'].'/404page.php';
	Header( "Location: $url" ); 	
}

stemplate::assign("page_title_", 'Cricket News - Pakistan Cricket Board (PCB) Official Website');
stemplate::assign("page_meta_keyword_", 'cricket news Pakistan, latest cricket news, cricket news of Pakistan, live cricket news, current cricket news, Pak cricket news, sports cricket news, cricket Pakistan news, Pakistan cricket, pcb, cricket Pakistan');
stemplate::assign("page_meta_description_", "Pakistan Cricket News gives all the Latest cricket news, domestic and international coverage scenario and updates of the Pakistan cricket, live cricket updates.");
stemplate::assign("news", $obj_news->getNews($post));
stemplate::assign("total_records", $pager->items_total);
stemplate::assign("pagination_start", $pager->low);
stemplate::assign("pagination",$pager->display_pages());
stemplate::assign("page_limit_select", $pager->display_page_limits());
stemplate::assign("post", $post);
stemplate::display("404page.tpl");


?>